/* global Vue */
import Router from 'vue-router'

import c from '@/assets/components/c'

import HelloWorld from '@/assets/components/HelloWorld'

import home from '@/assets/view/home.vue'
import recommend from '@/assets/view/recommend.vue'
import qa from '@/assets/view/qa.vue'

Vue.use(Router)

export const router = new Router( {
  routes: [
    {
      path: '/c',
      name: 'c',
      component: c
    },
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/home',
      name: 'home',
      component:home
    },
    {
      path: '/recommend',
      name: 'recommend',
      component:recommend
    },
    {
      path: '/qa',
      name: 'qa',
      component:qa
    },
  ]
})
